/* services.less */
page {
  background-color: #f5f5f5;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* 搜索栏 */
.search-bar {
  position: relative;
  margin: 20rpx;
  background: white;
  border-radius: 40rpx;
  padding: 0 30rpx;
  box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
  width: 90%;
}

.search-input {
  height: 80rpx;
  font-size: 28rpx;
  padding-right: 60rpx;
}

.search-icon {
  position: absolute;
  right: 30rpx;
  top: 50%;
  transform: translateY(-50%);
  width: 40rpx;
  height: 40rpx;
}

/* 分类标签 */
.category-tabs {
  white-space: nowrap;
  padding: 20rpx 0;
  background: white;
  margin-bottom: 20rpx;
}

.tab-item {
  display: inline-block;
  padding: 20rpx 40rpx;
  margin: 0 10rpx;
  font-size: 28rpx;
  color: #666;
  border-radius: 30rpx;
  background: #f5f5f5;
}

.tab-item.active {
  color: #fff;
  background: #ff6b9d;
}

/* 服务列表 */
.service-list {
  flex: 1;
  padding: 0 20rpx;
}

.service-card {
  display: flex;
  background: white;
  border-radius: 20rpx;
  margin-bottom: 20rpx;
  padding: 20rpx;
  box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 180rpx;
  height: 180rpx;
  border-radius: 16rpx;
  margin-right: 20rpx;
}

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10rpx;
}

.service-name {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
}

.service-rating {
  display: flex;
  align-items: center;
}

.star-icon {
  width: 24rpx;
  height: 24rpx;
  margin-right: 8rpx;
}

.rating-text {
  font-size: 24rpx;
  color: #ff6b9d;
}

.service-desc {
  font-size: 26rpx;
  color: #666;
  margin-bottom: 16rpx;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20rpx;
}

.tag {
  font-size: 22rpx;
  color: #ff6b9d;
  background: #fff0f5;
  padding: 8rpx 16rpx;
  border-radius: 20rpx;
  margin-right: 10rpx;
  margin-bottom: 10rpx;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price-info {
  display: flex;
  align-items: center;
}

.current-price {
  font-size: 36rpx;
  font-weight: bold;
  color: #ff6b9d;
  margin-right: 16rpx;
}

.original-price {
  font-size: 26rpx;
  color: #999;
  text-decoration: line-through;
}

.book-btn {
  background: #ff6b9d;
  color: white;
  font-size: 28rpx;
  padding: 16rpx 32rpx;
  border-radius: 30rpx;
  border: none;
  line-height: 1;
}